package com.ccf.business.etl.model.dto;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 描述：
 * 流程内容传递对象
 * @author xianggj
 * @Date 2021/11/30 9:26
 **/
@Data
@NoArgsConstructor
public class FlowInfoDTO {

    private String id;

    private String name;

    private String remark;

    private List<EdgeDTO> edges;

    private List<NodeDTO> nodes;

    public FlowInfoDTO(String id, String name, String desc) {
        this.id = id;
        this.name = name;
        this.remark = desc;
    }
}
